package bom.dao.organization;

import bom.dao.GenericDao;
import bom.pojo.organization.RoleWriteAssociateTree;
import bom.pojo.organization.UserRole;
import bom.pojo.query.QueryRoleAssociateTree;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: haozt
 * @Description:
 * @Date: Created in  2018/11/27 15:09
 * @Modified By: Fancyears·Maylos·Malvis
 */
@Mapper
public interface RoleWriteAssociateTreeDao extends GenericDao<RoleWriteAssociateTree, QueryRoleAssociateTree> {
    /**
     * 功能描述：根据角色ID来删除关联的菜单数据
     * @param userRole
     * @return
     */
    int removeTreeByRoleId(UserRole userRole);
}
